Revenue\Revenue_Buy_X_Get_Y A

Total Complexity 64
Dependencies 0
Dependents 1
Total lines 509
Lines of code 221
Logical lines of code 144
Comment lines 195
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
render_views()
A
42 13 58
set_price_on_cart()
A
45 13 40
add_to_cart()
A
44 11 45
is_eligible_for_discount()
A
55 9 18
after_trigger_product_added_to_cart()
A
49 8 28
set_cart_item_quantity()
S
69 3 6
output_inpage_views()
S
68 2 7
output_popup_views()
S
70 2 6
output_floating_views()
S
70 2 6
init()
S
66 1 7